/**
 * Created by Noir on 2/13/14.
 */

angular.module('2order.system')
    .factory('Utils',['$window',function($window){
        return {
            scopeApply: function(scope){
                if(!scope.$$phase) {
                    //$digest or $apply
                    scope.$apply();
                }
            }
        }
    }]);